namespace net_work.Data.Entity.Sys;

/// <summary>
/// 部门实体类
/// </summary>
public class Department : BaseEntity
{
    /// <summary>
    /// 部门名称
    /// </summary>
    public required string DepName { get; set; }

    /// <summary>
    /// 部门电话
    /// </summary>
    public string? DepPhone { get; set; }

    /// <summary>
    /// 部门地址
    /// </summary>
    public string? DepAddr { get; set; }

    /// <summary>
    /// 部门邮箱
    /// </summary>
    public string? DepEmail { get; set; }

    /// <summary>
    /// 部门负责人ID（外键）
    /// </summary>
    public long? HeadTeacherId { get; set; }

    /// <summary>
    /// 学院ID（外键）
    /// </summary>
    public required long CollegeId { get; set; }
}